import { request } from '@/utils/request'
export default {
    getStudentInfo(data){
        return request('/cmeduApi/cmeduweb00001/getStudent', "GET", data);
    },
    //获取学生状态
    getStudentStatus(){
        return request("/sign/jwDictData/getDictionariesStudentStatus ",'get')
    },
    //获取学生类别
    getStudentType(){
        return request("/sign/jwDictData/getDictionariesStudentType",'get')
    },
    //添加学生
    insertStudent(data){
        return request("/sign/jwStudent/saveStudent",'post',data)
    },
    //查询学生
    selectAllStudent(data){
        return request("/sign/jwStudent/queryByPage",'GET',data)
    },

    //删除学生
    delStudent(data){
        return request("/sign/jwStudent/deleteById/"+data,'post')
    },
    //修改学生
    updateStudent(data){
        return request("/sign/jwStudent/editStudent",'post',data)
    },
    saveStudentClass(data){
        return request("/sign/jwClass/saveStudentClass",'post',data)
    },
    getStudentByClass(data){
        return request("/sign/jwClass/selectStudentClass",'GET',data)
    },
    moveStudentClass(data){
        return request("/sign/jwClass/moveStudentClass",'post',data)
    }

}
